Found 3 posts.
By Peter Leinonen on September 21, 2025
Discover how to leverage custom unmarshallers in Go to handle complex real-world data parsing challenges. This blog post explores the use of Go's json.Unmarshaler
interface to transform inconsistent API data into clean, type-safe structures. Learn how to convert string values to enums, manage nested JSON objects, and implement validation directly in the unmarshalling process. With tips on performance, error handling, and testing, this guide helps you maintain clean and efficient code while managing messy external data formats. Perfect for developers looking to streamline data transformation in Go applications.
Read moreBy Peter Leinonen on August 3, 2025
Explore the elegant simplicity of Lisp, a programming language that pairs abundant parentheses with profound ideas. This blog post reveals Lisp's core concept of homoiconicity, where code and data share the same structure, allowing for seamless self-modification and uniformity in expression. Discover the power of Lisp's macro system, which enables language extension and creative control. Despite its minimalist foundation, Lisp achieves remarkable expressiveness and clarity, embodying timeless programming principles. Uncover the understated beauty of Lisp, where mathematical purity meets practical brilliance.
Read moreBy Peter Leinonen on August 10, 2025
Discover the magic of Lisp's minimalism as we build a Lisp interpreter from scratch using just seven primitives and a touch of practical additions. This journey reveals how McCarthy's foundational principles create a universe of computational possibilities, demonstrating the profound elegance of simplicity in programming. Dive in to see how complex concepts emerge naturally from these basic building blocks and transform your understanding of programming's core essence.
Read more